package com.yix.modules.zt;

/**
 * @author wdx
 * @version 1.0
 * @Description TODO
 * @date 2021/2/2 15:59
 */
public class ConcreteStateB extends State {

    @Override
    public void Handle(Context context) {
        System.out.println("当前状态是 B.");
        context.setState(new ConcreteStateA());
    }
}
